const LoginView = () => import('views/login-register/Login')
const findPwdView =()=>import('views/login-register/findPwd.vue') 
const bothView =()=>import('views/login-register/login-reg.vue') 

export const Login =  {
  path: '/login',
  component: LoginView,
   redirect: '/login/home',
  meta:{
    keepAlive:false//导航栏在该页面不予显示
  },
  children:[//嵌套使用
	{
		path: 'findPwd',
		name:'findPwd',
		component: findPwdView,
    meta:{
      keepAlive:false,
      keepfoot:true//导航栏在该页面不予显示

    }
	},
	{
		path: 'home',
		name:'login',
		component: bothView,
    meta:{
      keepAlive:false,//导航栏在该页面不予显示
      keepfoot:true
    }
	}
  ],
}
